package com.cloudfun.campusshare.repo;

import com.cloudfun.campusshare.entity.WeChatContractEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by Huqin on 2020/4/20
 */
public interface WeChatContractRepo extends
        PagingAndSortingRepository<WeChatContractEntity, String>,
        JpaSpecificationExecutor<WeChatContractEntity> {

    WeChatContractEntity findByCustomerId(String userId);
}
